<import type='css' file="People.Css.text" />

<import type='js' file="People.Js.publish" />
<import type='js' file="People.Js.Markdown" />
<import type='js' file="People.Js.Markdown_002" />

<import type='js' file="People.Js.Markdown_003" />


<import type='js' file="People.Js.fileupload" />




<div class="aw-container-wrap">
	<div class="container aw-publish aw-publish-article">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<!-- tab 切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active">
						<li class="active"><a href="{:U('/Home/People/article')}">文章</a></li>
						<li><a href="{:U('/Home/People/question')}">问题</a></li>
						<h2 class="hidden-xs"><i class="icon icon-ask"></i> 发起</h2>
					</ul>
					<!-- end tab 切换 -->
					<form action="" method="post" id="question_form" >
						<input type="hidden" name="post_hash" value="169d64a991de3ed1" />
						<input type="hidden" name="attach_access_key" value="48c3b1de343ea708e91f81309a64b242" />
						<input type="hidden" name="article_id" id="article_id" value="" />
							<select name="category_id" class="hide" id="category_id">
								<option value="0">- 请选择分类 -</option>
								<option value="NUKE资讯">NUKE资讯</option>
								<option value="NUKE软件">NUKE软件</option>
								<option value="NUKE插件">NUKE插件</option>
								<option value="NUKE教程">NUKE教程</option>
								<option value="NUKE开发">NUKE开发</option>
								<option value="NUKE问答">NUKE问答</option>
								<option value="NukeStudio">NukeStudio</option>
								<option value="资源分享">资源分享</option>
								<option value="Nuke合成">Nuke合成</option>						
							</select>
							<div class="aw-mod aw-mod-publish">
							<div class="mod-body">
								<h3>文章标题:</h3>
								<!-- 文章标题 -->
								<div class="aw-publish-title">
									<input type="text" name="title" value="" class="form-control" />
																		<div class="aw-dropdown aw-question-dropdown">
										<i class="aw-icon i-dropdown-triangle active"></i>
										<p class="title">没有找到相关结果</p>
										<ul class="aw-question-dropdown-list"></ul>
									</div>
									<div class="dropdown">
										<div class="dropdown-toggle" data-toggle="dropdown">
											<span id="aw-topic-tags-select">选择分类</span>
											<a href="javascript:;"><i class="icon icon-down"></i></a></a>
										</div>
									</div>
																	</div>
								<!-- end 文章标题 -->

								<h3>文章内容:</h3>
								<div class="aw-mod aw-editor-box">
									<div class="mod-head">
										<div class="wmd-panel">
								            <div id="wmd-button-bar"></div>
								            <textarea class="wmd-input form-control autosize" id="wmd-input" rows="15" name="message"></textarea>
								        </div>
									</div>
									<div class="mod-body">
										<p class="text-color-999"><span class="pull-right" id="question_detail_message">&nbsp;</span></p>
											<div class="aw-upload-box">
											<a class="btn btn-default">上传附件</a>
											<div class="upload-container"></div>
											<span class="text-color-999 aw-upload-tips hidden-xs">允许的附件文件类型: jpg,jpeg,png,gif,zip,doc,docx,rar,pdf,psd</span>
										</div>
																			</div>
									<div class="mod-footer">
										<div id="wmd-preview" class="wmd-panel wmd-preview"></div>
									</div>
								</div>

								<h3>添加话题:</h3>
								<div class="aw-topic-bar" data-type="publish">
									<div class="tag-bar clearfix">
										
										
										<span class="aw-edit-topic icon-inverse"><i class="icon icon-edit"></i> 编辑话题</span>
									</div>
								</div>

															</div>
							<div class="mod-footer clearfix">
								<a href="/integral/rule/" target="_blank">[积分规则]</a>		
									<span class="aw-anonymity">
									</span>
								<input type="submit" class="btn btn-large btn-success btn-publish-submit" id="publish_submit" value="上传文章" />
							</div>
						</div>
					</form>
				</div>
				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs">
					<!-- 文章发起指南 -->
					<div class="aw-mod publish-help">
						<div class="mod-head">
							<h3>文章发起指南</h3>
						</div>
						<div class="mod-body">
							<p><b>• 文章标题:</b> 请用准确的语言描述您发布的文章思想</p>
							<p><b>• 文章补充:</b> 详细补充您的文章内容, 并提供一些相关的素材以供参与者更多的了解您所要文章的主题思想</p>
							<p><b>• 选择话题:</b> 选择一个或者多个合适的话题, 让您发布的文章得到更多有相同兴趣的人参与. 所有人可以在您发布文章之后添加和编辑该文章所属的话题</p>
						</div>
					</div>
					<!-- end 文章发起指南 -->
				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	var ATTACH_ACCESS_KEY = '06f70ec0d7ad742b38ed98b3441c3daa';
	var CATEGORY_ID = 0;
	var PUBLISH_TYPE = 'question';
</script>